package com.yourcompany.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "wx")
public class WxConfig {
    
    /**
     * 小程序配置
     */
    private MiniApp miniApp;
    
    /**
     * 开放平台配置
     */
    private OpenPlatform openPlatform;
    
    @Data
    public static class MiniApp {
        private String appId;
        private String secret;
    }
    
    @Data
    public static class OpenPlatform {
        private String appId;
        private String secret;
    }
} 